export type User = {
    userId:string,
    username:string,
    password:string,
    phone:string,
    email:string,
    sex:string,
    nickName:string,
    roleId:string,
    deptId:string,
    deptName:string,
    education:string,
    jobTitle:string,
    image:string,
    introduction:string,
    visitAddress:string,
    toHome:string,
    goodAt:string,
    price:string
}
//列表参数
export type UserListParm = {
    currentPage:number,
    pageSize:number,
    nickName:string,
    phone:string,
    total:number
}
//登录
export type login ={
    username:string,
    password:string,
    code:string,
    image:string
}
//分配菜单
export type AssignParm = {
    roleId:string,
    userId:string
}
//修改密码参数
export type UpdateParm = {
    userId:string,
    oldPassword:string,
    password:string
}
//开关按钮
export type SwitchParm = {
    userId:string,
    enabled:boolean
}